package com.gupao.rpc;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        int port = 8080;
        IHelloService helloService = new HelloServiceImpl();
        RpcProxyServer proxyServer = new RpcProxyServer();
        proxyServer.publisher(helloService, port);
        System.out.println("服务启动【" + helloService.getClass().getName() + "】监听端口:" + port);
    }
}
